package org.csu.mypetstore.persistence;

import org.csu.mypetstore.domain.Account;

import java.util.List;

public interface CartDao {

    List<String> getItems(Account account);

    void insertCart(Account account, String itemId);

    void deleteCart(Account account, String itemId);

    void clearUpCart(Account account);

    void minusCart(Account account, String itemId);

     int isExit(Account account, String itemId);

}
